package com.house365.core.sop.message;

import android.content.Context;
import android.content.Intent;
import android.net.Uri;

/**
 * 调用系统短信
 * 
 * @author Vincent Chow
 * @version 4.1 创建时间：2013-12-4 上午11:19:07
 */
public class SystemMessage {

	public static void sendMsg(Context context,String text) {
		Uri smsToUri = Uri.parse("smsto:");
		Intent mIntent = new Intent(Intent.ACTION_VIEW, smsToUri);
		mIntent.putExtra("sms_body", text);
		mIntent.setType("vnd.android-dir/mms-sms");
		context.startActivity(mIntent);
	}

}
